import request from '#/utils/requestAbort';
// 现货市场出清电价
export async function spotMarketClearanceElectricityPrices(data) {
  return request('/gansudatang/marketTradingDaily/spotMarketClearanceElectricityPrices', {
    method: 'POST',
    data,
  });
}
// 中长期交易情况
export async function tradeSituationQuery(data) {
  return request('/gansudatang/marketTradingDaily/tradeSituationQuery', {
    method: 'POST',
    data,
  });
}
// 电力交易执行情况
export async function executePowerTrading(data) {
  return request('/gansudatang/marketTradingDaily/executePowerTrading', {
    method: 'POST',
    data,
  });
}
// 交易日报提示语
export async function situationDescription(data) {
  return request(`/gansudatang/marketTradingDaily/situationDescription?date=${data}`, {
    method: 'GET',
  });
}
// 供需分析
export async function outPutChartData(data) {
  return request(`/gansudatang/marketTradingDaily/chart?date=${data}`, {
    method: 'GET',
  });
}

// 查询周报信息
export async function getWeekDataList(params = {}) {
  return request('/gansudatang/transactionWeekReport/dataList', {
    method: 'POST',
    data: params,
  });
}

// 查询月报信息
export async function getMonthDataList(params = {}) {
  return request('/gansudatang/transactionWeekReport/getMonthReportList', {
    method: 'POST',
    data: params,
  });
}
